From: Felix Fietkau Date: Thu, 28 May 2009 16:17:16 +0000 (+0000) Subject: merge quilt return code checks from trunk to 8.09 X-Git-Tag: 8.09.1~12 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org///%22https:/collectd.org/?a=commitdiff_plain;h=91b0a729ffdf9b1177fe33f3bc3a6ad47b58d63a;p=openwrt%2Fsvn-archive%2Fopenwrt.git merge quilt return code checks from trunk to 8.09 SVN-Revision: 16146 --- diff --git a/include/quilt.mk b/include/quilt.mk index 70bc84e4cc..d7342c959f 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -128,7 +128,7 @@ define Build/Quilt $(STAMP_CONFIGURED): $(STAMP_CHECKED) FORCE $(STAMP_CHECKED): $(STAMP_PATCHED) - if [ -s "$(PKG_BUILD_DIR)/patches/series" ]; then (cd $(PKG_BUILD_DIR); quilt next >/dev/null 2>&1 && quilt push -a || quilt top >/dev/null 2>&1); fi + if [ -s "$(PKG_BUILD_DIR)/patches/series" ]; then (cd $(PKG_BUILD_DIR); if quilt next >/dev/null 2>&1; then quilt push -a; else quilt top >/dev/null 2>&1; fi); fi touch $$@ quilt-check: $(STAMP_PREPARED) FORCE